projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f6f2e2
)
admin-switch: Add missing reboot argument
author
Colin Walters
<walters@verbum.org>
Wed, 23 Mar 2016 13:42:17 +0000
(09:42 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 23 Mar 2016 13:42:17 +0000
(09:42 -0400)
Spotted by jlebon in https://github.com/GNOME/ostree/pull/211
src/ostree/ot-admin-builtin-switch.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-admin-builtin-switch.c
b/src/ostree/ot-admin-builtin-switch.c
index 5339de9d43015146562527a9bf035ed1bcf83c58..4d82ca6b3bf8412c9b1c7bf26d741ddd2a8aacd9 100644
(file)
--- a/
src/ostree/ot-admin-builtin-switch.c
+++ b/
src/ostree/ot-admin-builtin-switch.c
@@
-34,6
+34,7
@@
static gboolean opt_reboot;
static char *opt_osname;
static GOptionEntry options[] = {
+ { "reboot", 'r', 0, G_OPTION_ARG_NONE, &opt_reboot, "Reboot after switching trees", NULL },
{ "os", 0, 0, G_OPTION_ARG_STRING, &opt_osname, "Use a different operating system root than the current one", "OSNAME" },
{ NULL }
};